package com.wing.qualityTesting.model.response;

import com.wing.qualityTesting.model.entity.QualityTestingTaskError;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @version 1.1.0
 * @Author hz
 * @Date 2024-10-31 09:34
 **/
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class QualityDetailRecordSimpleVo {

    /**
     * 记录id
     */
    private Long recordId;

    /**
     * 检验工站id
     */
    private Long inspectDeviceId;
    /**
     * 检验工站编号
     */
    private String inspectDeviceCode;

    /**
     * 检测结果
     */
    private String qualityTestingResultName;

    private String qualityTestingResult;

    /**
     * 检测备注
     */
    private String remark;

    /**
     * 处理方式
     */
    private String dealWay;

    /**
     *合格数(简易独有)
     */
    private Integer okQuantity;
    /**
     *返修数(简易独有)
     */
    private Integer returnQuantity;
    /**
     *报废数(简易独有)
     */
    private Integer ngQuantity;
    /**
     *合格入仓库(简易独有)
     */
    private Long okWarehouseType;
    /**
     *报废入仓库(简易独有)
     */
    private Long ngWarehouseType;
    /**
     *返修入仓库(简易独有)
     */
    private Long returnWarehouseType;

    /**
     * 纸质单
     */
    private String paperSlipPic;


    //----------------------------------- 检测项目 检测结果 -------------------------//
    /**
     * 检测结果
     */
    private List<QualityDetailValueInfoVo> detailValueInfoVos;


    // -------------------------------- 异常信息(简易质检才需要) -----------------------------//
    /**
     * 异常信息
     */
    private List<QualityTestingTaskError> errorInfoVos;


}
